<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<script src="/xlive/script/xlv.js"></script>
</head>
<body>
	<div id="updateCatalog_main" xlvobject="xlv.obj.pane" xlvprop="{glow:{enable:true},border:{enable:true},bkOpacity:false}"
		xlvmethod="{
			styleFor:function(root){
				root.style.background='url(/xlive/images/lightgrayTexture.gif) left top repeat';
			}
		}"
	>
	  <div style="padding:10px;width:600px;">
			<table  style="border-collapse:collapse;font-family: Arial;font-size: 12px;text-align:left;">
				<tr>
					<td>
						<div xlvobject="xlv.obj.img" xlvprop="{dmName:'forum.catalog',dmPath:'properties.update-catalog.catalog-icon',width:32,height:32}">
						</div>
					</td>
					<td style="width:100%"><span style="font-size:20px;font-style:italic;">Update a catalog</span></td>
					<td><nobr>
						<span xlvobject="xlv.obj.dmProcess" 
							 xlvprop="{title:'Save',srcImg:'/xlive/images/save.png',dmName:'forum.catalog',methodName:'webMethod',options:'update-catalog'}"
							 xlvmethod="{
							 	process:function(options){
							 		var rich_editor=this.getObjectById('text_editor');
							 		rich_editor.commit();
							 		this.$self('process');
							 		this.getPaneById('updateCatalog_main').dispose();
							 	}
							 }"
							>
						</span>
						<span xlvobject="xlv.obj.process" 
							 xlvprop="{title:'Cancel',srcImg:'/xlive/images/exit.png'}"
							 xlvmethod="{
							 	process:function(options){
							 		this.getPaneById('updateCatalog_main').dispose();
							 	}
							 }"
							>
						</span>
						</nobr>
					</td>
				</tr>
				<tr>
					<td><span style="white-space:nowrap;padding:8px">Subject : </span></td>
					<td colSpan="2"><div style="width:100%" xlvobject="xlv.obj.input" xlvprop="{dmName:'forum.catalog',dmPath:'properties.update-catalog.catalog-title'}"></div></td>
				</tr>
				<tr>
					<td colSpan="3">
					<div id="text_editor" xlvobject="xlv.obj.richEditor" xlvprop="{dmName:'forum.catalog',dmPath:'properties.update-catalog.catalog-text'}"></div></td>
				</tr>
			</table>
			<div>
				<span style="color:gray;font-size:10px">post a new topic, write subject and description, press save to post </span>
			</div>
		    <!-- <div style="background:white" xlvobject="xlv.obj.tree" xlvprop="{dmName:'forum.newtopic'}"></div>-->
	   </div>	 
	</div>
</body>
</html>
